
# 方法method

L1 = [77, 44, 22, 55, 66, 33]
L1.reverse()  # 逆序
print('L1:', L1)  # [33, 66, 55, 22, 44, 77]
L1.sort()  # 从小到大进行排序
print('排序后L1：', L1)  # [22, 33, 44, 55, 66, 77]
L1.sort(reverse=True)  # 从大到小进行排序
print('排序后L1：', L1)   #  [77, 66, 55, 44, 33, 22]